package com.softdev.pojo;

import com.softdev.common.AbstractBaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.*;
import org.hibernate.annotations.Proxy;

import javax.persistence.*;
import java.io.Serializable;
import java.util.List;

@ApiModel("角色")
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "roles")
public class Role extends AbstractBaseEntity implements Serializable {

    private static final long serialVersionUID = -4433300648552974960L;

    @Column(name = "name")
    private String name;

}
